.survey-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #f9f9f9;
}

.header {
  padding: 20px;
  background-color: #07c160;
  text-align: center;

  .title {
    color: white;
    font-size: 18px;
    font-weight: bold;
  }
}

.question-container {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.question-item {
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.question-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.option {
  margin-bottom: 8px;
}

.text-input {
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 4px;
  margin-top: 8px;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: white;
  border-top: 1px solid #eee;
}

.exit-btn,
.submit-btn {
  flex: 1;
  margin: 0 5px;
  font-size: 14px;
  padding: 8px 0;
}

.submit-btn {
  background-color: #07c160;
  color: white;
}

// 提交后结果卡片
.result-card {
  height: 33vh; // 占据页面高度的 1/3
  background-color: white;
  border-top: 1px solid #eee;
  padding: 15px;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.id-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.id-item {
  width: 18%; // 每行 5 个（留出 2% 间距）
  margin-bottom: 10px;
  padding: 6px 0;
  text-align: center;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
}

.correct {
  background-color: #e6ffe6;
  color: #1e7e34;
}

.incorrect {
  background-color: #ffe6e6;
  color: #c91f37;
}